package com.zjhcsoft.shop.model;

import java.util.Date;

// default package

/**
 * Product entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Product implements java.io.Serializable {

	// Fields

	private Long id;
	private Long serialid;
	private Integer kindid;
	private Long typeid;
	private Long brandid;
	private String title;
	private Double salePrice;
	private Double purchasePrice;
	private Double wholesalePrice;
	private Long stock;
	private String smallpic;
	private String bigpic;
	private String detailpic;
	private String productcode;
	private String brandDesc;
	private String weight;
	private String fabric;
	private String color;
	private String size;
	private String productDesc;
	private Integer ordernum;
	private String creator;
	private Date createtime;
	private Date modiftime;
	private Integer flag;
	
	

	// Constructors

	/** default constructor */
	public Product() {
	}

	/** minimal constructor */
	public Product(Long id) {
		this.id = id;
	}

	/** full constructor */
	public Product(Long id, Long serialid, Long typeid, Long brandid,
			String title, Double salePrice, Double purchasePrice,
			Double wholesalePrice, Long stock, String smallpic, String bigpic,
			String productcode, String brandDesc, String weight, String fabric,
			String color, String size, String productDesc) {
		this.id = id;
		this.serialid = serialid;
		this.typeid = typeid;
		this.brandid = brandid;
		this.title = title;
		this.salePrice = salePrice;
		this.purchasePrice = purchasePrice;
		this.wholesalePrice = wholesalePrice;
		this.stock = stock;
		this.smallpic = smallpic;
		this.bigpic = bigpic;
		this.productcode = productcode;
		this.brandDesc = brandDesc;
		this.weight = weight;
		this.fabric = fabric;
		this.color = color;
		this.size = size;
		this.productDesc = productDesc;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getSerialid() {
		return this.serialid;
	}

	public void setSerialid(Long serialid) {
		this.serialid = serialid;
	}

	public Long getTypeid() {
		return this.typeid;
	}

	public void setTypeid(Long typeid) {
		this.typeid = typeid;
	}

	public Long getBrandid() {
		return this.brandid;
	}

	public void setBrandid(Long brandid) {
		this.brandid = brandid;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Double getSalePrice() {
		return this.salePrice;
	}

	public void setSalePrice(Double salePrice) {
		this.salePrice = salePrice;
	}

	public Double getPurchasePrice() {
		return this.purchasePrice;
	}

	public void setPurchasePrice(Double purchasePrice) {
		this.purchasePrice = purchasePrice;
	}

	public Double getWholesalePrice() {
		return this.wholesalePrice;
	}

	public void setWholesalePrice(Double wholesalePrice) {
		this.wholesalePrice = wholesalePrice;
	}

	public Long getStock() {
		return this.stock;
	}

	public void setStock(Long stock) {
		this.stock = stock;
	}

	public String getSmallpic() {
		return this.smallpic;
	}

	public void setSmallpic(String smallpic) {
		this.smallpic = smallpic;
	}

	public String getBigpic() {
		return this.bigpic;
	}

	public void setBigpic(String bigpic) {
		this.bigpic = bigpic;
	}

	public String getProductcode() {
		return this.productcode;
	}

	public void setProductcode(String productcode) {
		this.productcode = productcode;
	}

	public String getBrandDesc() {
		return this.brandDesc;
	}

	public void setBrandDesc(String brandDesc) {
		this.brandDesc = brandDesc;
	}

	public String getWeight() {
		return this.weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}

	public String getFabric() {
		return this.fabric;
	}

	public void setFabric(String fabric) {
		this.fabric = fabric;
	}

	public String getColor() {
		return this.color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getSize() {
		return this.size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public String getProductDesc() {
		return this.productDesc;
	}

	public void setProductDesc(String productDesc) {
		this.productDesc = productDesc;
	}

	public String getDetailpic() {
		return detailpic;
	}

	public void setDetailpic(String detailpic) {
		this.detailpic = detailpic;
	}

	public Integer getKindid() {
		return kindid;
	}

	public void setKindid(Integer kindid) {
		this.kindid = kindid;
	}

	public Integer getOrdernum() {
		return ordernum;
	}

	public void setOrdernum(Integer ordernum) {
		this.ordernum = ordernum;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getModiftime() {
		return modiftime;
	}

	public void setModiftime(Date modiftime) {
		this.modiftime = modiftime;
	}

	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

}